YAYDP\Core\YAYDP_Cart_Discount_Manager A

Total Complexity 75
Dependencies 6
Dependents 1
Total lines 309
Lines of code 266
Logical lines of code 156
Comment lines 2
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
calculate_pricings()
A
46 9 38
change_coupon_html()
S
46 6 40
get_shop_coupon_data()
S
54 7 20
before_checkout_process()
S
56 7 17
checkout_order_processed()
S
57 7 15
after_payment_successful()
S
56 6 17
change_coupon_label()
S
57 5 16
remove_all_yaydp_discounts()
S
58 5 15
change_coupon_error()
S
59 5 13
change_coupon_message()
S
59 5 13
checkout_no_payment_needed_redirect()
S
59 4 14
get_available_rules()
S
62 2 13
get_all_rules()
S
72 2 5
__construct()
S
57 1 15
initialize()
S
80 1 3
get_combined_adjustment()
S
69 1 7
after_calculate_pricings()
S
91 1 2
before_calculate_pricings()
S
82 1 3